//
//  SimpleActionSheetInfo.m
//  RSW.IOS
//
//  Created by zhaiqiuqiu on 17/1/3.
//  Copyright © 2017年 com.xtion.crm. All rights reserved.
//

#import "SimpleActionSheetInfo.h"

static XMSQueueDictionary *s_jsonPair;

@implementation SimpleActionSheetInfo

+ (void)initialize
{
    if(s_jsonPair == nil)
    {
        XMSQueueDictionary *qd = [[XMSQueueDictionary alloc]initWithStoreClass:[CDBColPropertyPair class]];
        [qd addKey:@"ID" value:@"dataId"];
        [qd addKey:@"Name" value:@"name"];
        [qd addKey:@"ICON" value:@"icon"];
        
        s_jsonPair = [CTransformHTTPRESTObj registerJSONObjectClass:[SimpleActionSheetInfo class] JSONKeyPair:qd];
    }
}

+ (XMSQueueDictionary *)JSONObjectProperty:(NSArray *)JSONKeys
{
    return [CTransformHTTPRESTObj JSONObjectMap:s_jsonPair propertyWithJSONKey:JSONKeys];
}

@end
